@include b(page) {
    padding: 0;
    margin: 0;
    margin: 0 auto;
    padding-bottom: 2rem;
    display: block;
    font-size: 17px;
    max-width: $content-width;
    .#{$content-class}:not(.custom) {
        max-width: $content-width;
        margin: 0 auto;
        padding: 0 2.5rem;
        a:hover {
            text-decoration: underline;
        }
        p.demo {
            padding: 1rem 1.5rem;
            border: 1px solid #dddddd;
            border-radius: 4px;
        }
        img {
            max-width: 100%;
            box-shadow: 0 0 20px 0 rgba(7, 17, 27, .1);
        }
        ul,
        ol {
            margin: 2.5rem 0;
            li {
                margin-left: 1.5rem;
                padding-left: .3rem;
                margin-top: .5rem;
                margin-bottom: .5rem;
            }
        }
        ul li {
            list-style-type: disc;
        }
        ol li {
            list-style-type: decimal;
        }
    }
    .#{$content-class}.custom {
        box-sizing: border-box;
        padding: 0;
        margin: 0;
        img {
            max-width: 100%;
            box-shadow: 0 0 20px 0 rgba(7, 17, 27, .1);
        }
    }
    a {
        font-weight: 500;
        color: $color-primary;
        text-decoration: none;
    }
    p {
        line-height: 1.8;
    }
    p a code {
        font-weight: 500;
    }
    kbd {
        background: #eeeeee;
        border: 1px solid #dddddd;
        border-bottom: solid 0.25rem #dddddd;
        border-radius: 0.15rem;
        padding: 0 0.15em;
    }
    blockquote {
        font-size: 1rem;
        color: #999999;
        border-left: .2rem solid #dfe2e5;
        margin: 1rem 0;
        padding: .25rem 0 .25rem 1rem;
        &>p {
            margin: 0;
        }
    }
    strong {
        font-weight: 600;
    }
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-weight: 600;
        line-height: 2rem;
        margin-bottom: 2rem;
        cursor: text;
        &:hover .header-anchor {
            opacity: 1;
        }
        &>a {
            font-size: inherit;
            font-weight: inherit;
            letter-spacing: 2px;
        }
    }
    .#{$content-class} {
        &>h1:not(:first-child),
        h2:not(:first-child),
        h3:not(:first-child),
        h4:not(:first-child),
        h5:not(:first-child) {
            margin-top: 3rem;
        }
        &>h1:first-child,
        h2:first-child,
        h3:first-child,
        h4:first-child,
        h5:first-child,
        h6:first-child {
            margin-top: -1rem;
            margin-bottom: 1rem;
        }
    }
    h1 {
        padding-bottom: .4rem;
        font-size: 2.2rem;
        line-height: 1.3;
    }
    h2 {
        font-size: 1.75rem;
        line-height: 1.3;
        margin: 35px 0 15px;
        padding-bottom: 0.5em;
        border-bottom: 1px solid #ddd;
    }
    h3 {
        font-size: 1.4rem;
        line-height: 1.23;
        margin: 20px 0 7px;
    }
    h4 {
        font-size: 1.2rem;
    }
    h5 {
        font-size: 1rem;
    }
    h6 {
        font-size: 1rem;
        color: #777;
    }
    a.header-anchor {
        font-size: inherit;
        float: left;
        margin-left: -0.87em;
        padding-right: 0.23em;
        opacity: 0;
        transition: opacity 0.25s ease-in-out;
        &:hover {
            text-decoration: none;
        }
    }
    code,
    kbd,
    .line-number {
        font-family: Menlo, Monaco, 'Courier New', monospace;
        font-weight: 600;
    }
    p,
    blockquote,
    ul,
    ol,
    dl,
    table {
        margin: 1em 0;
    }
    p {
        margin: 1em 0;
    }
    hr {
        height: 2px;
        padding: 0;
        margin: 16px 0;
        background-color: #e7e7e7;
        border: 0 none;
        overflow: hidden;
        box-sizing: content-box;
    }
    table {
        width: 100%;
        border-collapse: collapse;
        margin: 1rem 0;
        display: table;
        overflow-x: auto;
    }
    tr {
        border-top: 1px solid $border-color;
        text-align: left;
        &:nth-child(2n) {
            background: #f6f8fa;
        }
    }
    th,
    td {
        border: 1px solid $border-color;
        padding: .6em 1em;
    }
    thead {
        background: rgba($color-primary, 0.1);
    }
}

.page-nav {
    max-width: $content-width;
    margin: 20px auto;
    padding: 0rem 2.5rem;
    padding-top: .5rem;
    padding-bottom: 2rem;
    .inner {
        min-height: 2rem;
        margin-top: 0;
        border-top: 1px solid $border-color;
        padding-top: 2rem;
        overflow: auto;
    }
    .next {
        float: right;
    }
    ul {
        margin-left: 0;
        list-style-type: circle;
        li {
            margin-left: 0;
        }
    }
}

.note-page-edit {
    max-width: $content-width;
    margin: 0 auto;
    padding: 1rem 2.5rem;
    padding-top: 2rem;
    overflow: auto;
    .edit-link {
        display: inline-block;
        a {
            color: $font-color;
            margin-left: .25rem;
        }
    }
    .last-updated {
        float: right;
        font-size: 0.9em;
        .prefix {
            font-weight: 500;
            color: $font-color;
        }
        .time {
            font-weight: 400;
            color: #aaaaaa;
        }
    }
}